﻿//==================================================================
// Copyright (C) 2011 深圳市中旭企业管理股份有限公司
// 文件名: V_SetTableList.cs
// 作 者：zxx
// 日 期：2011-11-9 09:20:41
// 描 述：
// 版 本：1.00
// 修改历史纪录
// 版 本  修改时间      修改人            修改内容
// 1.00             
//==================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.Text;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using ZX.DAL;
using OpenExpressApp.ORM;
using ZX.EHR.Library;
using System.Web;
namespace ZX.TR.Library
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [Table(Name = "V_TrMessageIssue")]
    [ZX.DBModule.Table("V_TrMessageIssue", "Key")]
    public class V_SetTableList : ZX.DBModule.BaseEntity
    {


        /// <summary>
        /// Key
        /// </summary>
        private static PropertyInfo<Guid> KeyProperty = RegisterProperty(typeof(V_SetTableList), new PropertyInfo<Guid>("Key"));
        [DataObjectField(true, true)]
        [Column, PK]
        public Guid Key
        {
            get { return GetProperty(KeyProperty); }
        }

        /// <summary>
        /// Caption
        /// </summary>
        private static PropertyInfo<string> CaptionProperty = RegisterProperty(typeof(V_SetTableList), new PropertyInfo<string>("Caption"));
        [Column]
        public string Caption
        {
            get { return GetProperty(CaptionProperty); }
           
        }
        /// <summary>
        /// TableName
        /// </summary>
        private static PropertyInfo<string> TableNameProperty = RegisterProperty(typeof(V_SetTableList), new PropertyInfo<string>("TableName"));
        [Column]
        public string IssueTitle
        {
            get { return GetProperty(TableNameProperty); }      
        }
        
    }
}
